package com.hissy.common.design.create.factory.abstractfactory;

/**
 * Created by zhangyanfei on 2019/4/4.
 *
 * @author zhangyanfei
 * @date 2019/04/04
 */
public class TestMain {

    public static void main(String[] args) {
        /**
         * 屏蔽一切底层创建细节
         *
         * 通过类来灵活绑定方法
         */
        AbstractFactory factory = new FactoryA();

        factory.start();
        factory.airCondition();
    }
}
